<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
 
<head></head>
<body>
<div class="container" th:fragment="footer">
    
    <p style="border:2px solid green">
       This is the footer fragment . 
    </p>
</div>
</body>
</html>